Skip to content

feat: Build Countdown Timer Component for Limited Offers - #294

Open
devisgood24 wants to merge 2 commits into
Hamplard-Hub:mainfrom
devisgood24:feat/153-countdown-timer-component
Open

feat: Build Countdown Timer Component for Limited Offers#294
devisgood24 wants to merge 2 commits into
Hamplard-Hub:mainfrom
devisgood24:feat/153-countdown-timer-component

Conversation

@devisgood24

Copy link
Copy Markdown
  • Add CountdownTimer component with DD:HH:MM:SS display format
  • Implement real-time countdown with setInterval (updates every second)
  • Add onExpire callback when timer reaches zero
  • Display 'Offer ended' text on expiration
  • Proper interval cleanup on component unmount
  • Full accessibility support with role='timer' and aria-live='off'
  • Comprehensive unit test suite (40+ test cases)
  • Forward ref support for imperative access
  • Responsive design with Tailwind CSS
  • TypeScript with proper type exports

Closes #153

…ffers

- Add CountdownTimer component with DD:HH:MM:SS display format
- Implement real-time countdown with setInterval (updates every second)
- Add onExpire callback when timer reaches zero
- Display 'Offer ended' text on expiration
- Proper interval cleanup on component unmount
- Full accessibility support with role='timer' and aria-live='off'
- Comprehensive unit test suite (40+ test cases)
- Forward ref support for imperative access
- Responsive design with Tailwind CSS
- TypeScript with proper type exports
@drips-wave

drips-wave Bot commented Aug 26, 2026

Copy link
Copy Markdown

@devisgood24 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Frontend] Component: Build Countdown Timer Component for Limited Offers

1 participant